package orgs.example.service;

import orgs.example.pojo.MeetingRoom;
import orgs.example.pojo.Reservation;
import orgs.example.pojo.User;

import java.util.List;

public interface AdminService {

    Boolean addMeetingRoom(MeetingRoom meetingRoom);

    Boolean changeMeetingroom(MeetingRoom meetingRoom);

    Boolean deleteroom(Integer roomid);

    Boolean changeUserStatus(Integer userId, String userStatus);

    Boolean deleteuser(Integer userId);

    List<User> searchUser(User user);

    List<MeetingRoom> searchMeetingRoom(MeetingRoom meetingRoom);

    MeetingRoom searchRoomByRoomId(Integer roomId);

    void deleteReservaionByUserId(Integer userId);

    void deleteCancellationByuserId(Integer userId);

    void changeRoomStatus(Integer roomid, String 使用);

    List<Reservation> searchAllReservation();
}
